package com.lqfan.autoAnswerQ.service.fileType;

import com.lqfan.autoAnswerQ.model.fileType.FileType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lqfan.autoAnswerQ.model.fileType.HandleFileType;
import com.lqfan.autoAnswerQ.model.quesBank.Question;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lqfan
 * @since 2020-04-04
 */
public interface IFileTypeService extends IService<FileType> {

    boolean saveFileType(String fileName, int type, String path);
    String selectFilePid(String filePath);
    boolean deleteFileType(String path ,String userId);
    boolean deleteFiles(String filePath, String userId);
    List<HandleFileType> getPath(String userId, int type, String questionName);
    List<HandleFileType> getFilePath(String userId, int type, String questionName);
}
